@layout("/backend/common/_container.html"){
<style>
    .dhcc-con .form-group{
        margin-bottom: 5px;
    }
    #RuleDic>div>div>label{vertical-align:baseline}
    #winConfirmInfo table tr:first-child td{
        padding-top: 8px;
    }
    #winConfirmInfo table tr td{
        padding: 0px 10px 5px 0px;
    }
</style>
<#Layout >
    <#Layout_Left title='查询条件' width='260px'>
    <div class="row row-lg">
        <div class="col-sm-12">
            @var checkPerm = "0";
            @if(shiro.hasPermission("form:check")){
            @checkPerm = "1";
            @}
            <#Hidden id="checkPerm" value="${checkPerm}"/>
            @var submitPerm = "0";
            @if(shiro.hasPermission("form:submit")){
            @submitPerm = "1";
            @}
            <#Hidden id="submitPerm" value="${submitPerm}"/>
            <#Hidden id="formCheckType" value="${formCheckType}"/>
            <#Hidden id="enableIPQC" value="${enableIPQC!}"/>
            <div class="dhcc-con dhcc-con-left dhcc-con-boder" >
                <#DateHisui id="startDate1" name="开始日期" value="${startDate}" />
                <#DateHisui id="endDate1" name="结束日期" value="${endDate}" />
                <#SelectCon id="dept" name="科室" map="${deptMap}" />
                <#InputCon id="mrNum" name="病案号" />
                <#InputCon id="name" name="患者姓名" />
                <#InputCon id="admDoctorName" name="主管医生" />
                <#SelectCon id="formStatus" name="入组状态" map="${statusMap}" />
                <#SelectCon id="entityId" name="病种名称" url="/sds/common/entityList" key="value" text="text" />
                @var typeMap = {'1':'系统','0':'手动'};
                <#SelectCon id="isAuto" name="操作类型"  map="${typeMap}" />
                <#SelectCon id="condition" name="条件查询" >
                    <option value="diverse">质控入组非上报病种</option>
                </#SelectCon>

            </div>
            <div class="hidden-xs" id="EpisodeIDTableToolbar" role="group" style="padding-left: 50px;padding-top: 10px;">
                <!--<#Button name="查询" icon="icon-search" plain="true" clickFun="SdsMedicalGroup.search2()" />-->
                <a href="#" id="search" class="hisui-linkbutton" onclick = "SdsMedicalGroup.search2()" >查询</a>
                <a href="#" id="export" class="hisui-linkbutton" onclick = "SdsMedicalGroup.exportExcel()" >导出</a>
                <a href="#" id="clear" class="hisui-linkbutton" onclick = "SdsMedicalGroup.clear()" >清空</a>
                <!--<#Button name="清空" icon="icon-reload" plain="true" clickFun="SdsMedicalGroup.clear()" />-->
            </div>
        </div>
    </div>
    </#Layout_Left>
    <#Layout_Center  title='患者列表'>
    <#Table id="SdsMedicalGroupTable"/>
    </#Layout_Center>
</#Layout>
<div id="winConfirmInfo" class="hisui-dialog" style="width:500px;border:none;overflow:auto;padding:0;">
    <div style="padding:0;border:0px;" fit="true">
        <table cellspacing ="10px" style="padding:0px;border:0px;width:100%;">
            <tr id="divQCDic">
                <td style="text-align:right;">选择病种</td>
                <td style="width:400px;">
                    <input class="hisui-combobox textbox" style="width:300px" id="winQCDic" >
                </td>
            </tr >
            <tr >
                <td style="text-align:right;width:60px;">依据原因</td>
                <td >
                    <div id="RuleDic" style="width:100%;min-height: 30px;"></div>
                </td>
            </tr>
            <tr >
                <td  style="text-align:right;width:60px;">其他备注</td>
                <td>
                    <textarea id="RuleResume" style="width:300px;min-height: 80px;" class="textbox"></textarea>
                </td>
            </tr>
        </table>
        <div style="text-align:center">
            <a id="SaveRule" class="hisui-linkbutton" data-options="iconCls:'icon-w-save'">提交</a>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/backend/sds/sdsmedicalgroup/sdsmedicalgroup.js"></script>
@}
